Skip to content

chore(deps): Update python-dependencies (major) - #4160

Open
renovate[bot] wants to merge 1 commit into
developmentfrom
renovate/major-python-dependencies
Open

renovate[bot] wants to merge 1 commit into
developmentfrom
renovate/major-python-dependencies

Conversation

@renovate

@renovate renovate Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
deprecated (changelog) ==1.3.1 → ==3.0.1 age confidence
python-dateutil ==2.9.0.post0 → ==4.0.0 age confidence
sentry-sdk (changelog) ==2.68.1 → ==3.0.1 age confidence

Release Notes

laurent-laporte-pro/deprecated (deprecated)

v3.0.1

Compare Source

Patch release: preserve the constructor signatures of deprecated classes

Fixed
  • Preserve constructor signatures on deprecated classes, including in Sphinx autodoc,
    instead of displaying the warning wrapper's generic arguments (#​86).
    See PR #​115 (Mirochill).
Other
  • Bump the dev-dependencies group (Dependabot). See PR #​114.
  • Add the social preview image of the repository and document its release steps. See PR #​113.

v3.0.0

Compare Source

Major release: Python 3.12+ modernization

[!WARNING]
This release drops the support of Python 2.7 and of Python 3 versions older than 3.12.
Use Deprecated 1.3.x on these versions: pip keeps resolving to 1.3.x on Python < 3.12.

[!IMPORTANT]
Upgrading from 1.x — the public API (@deprecated, @deprecated_params,
deprecated.sphinx, ClassicAdapter) is unchanged, but check the following points:

  • wrapt >= 1.16 is required (was >= 1.10);
  • deprecated.__date__ and deprecated.classic.string_types are removed;
  • from deprecated import * only exports deprecated and deprecated_params;
  • stacked @deprecated_params decorators emit one warning per deprecated parameter;
  • the warnings of deprecated subclasses now refer to the user code: tests which assert
    the file name or the line number of a warning may need to be updated.

[!NOTE]
There is no 2.x release: the major version 3 was chosen to match Python 3.

Changed
  • Require Python >= 3.12 and wrapt >= 1.16 (first wrapt release supporting Python 3.12).
    See PR #​102.
  • Migrate the packaging from setuptools (setup.py/setup.cfg/MANIFEST.in) to
    pyproject.toml with the Hatchling build backend; the version is read from
    src/deprecated/__init__.py.
  • Adopt the src layout: the package moves to src/deprecated
    (the tests stay in tests and the documentation in docs).
  • Manage the project with uv (uv.lock) and Hatch: tox is dropped and replaced
    by the hatch test matrix.
  • Modernize the Makefile (uv/Hatch based targets, run make help).
  • Replace bump2version by hatch version <major|minor|patch>: the version is only defined
    in src/deprecated/__init__.py, and the git tag is created by GitHub when the release
    is published.
  • Update the Fedora RPM spec file to the %pyproject_* macros.
Removed
  • Remove the inspect2 dependency (it was only used on Python 2). See PR #​102.
  • Remove the Python 2 compatibility constructs (u"" literals, coding cookies,
    class Foo(object), super(Class, self), OrderedDict...). See PR #​102.
  • Remove the undocumented deprecated.classic.string_types compatibility tuple.
    A bytes positional reason is still accepted by @deprecated, as before. See PR #​102.
  • Remove the deprecated.__date__ attribute (the release dates are in the changelog).
    See PR #​102.
Added
  • Add the deprecated.google module: the @deprecated, @versionadded and @versionchanged
    decorators insert a Deprecated:, Version added: or Version changed: section
    in Google style
    docstrings (see the "Google" decorators
    page). See PR #​105.
  • Add the deprecated.numpy module: the @deprecated, @versionadded and @versionchanged
    decorators insert a Deprecated, Version added or Version changed section
    in NumPy style
    docstrings (see the "NumPy" decorators
    page). See PR #​106.
  • Add the ClassicAdapter.warn() method used to emit the deprecation warning
    (can be overridden by custom adapters). See PR #​102.
  • Add Python 3.12 type annotations to the public API and ship the py.typed marker (PEP 561):
    the decorators preserve the signature of the decorated functions and classes. See PR #​102.
  • Add __all__ to the deprecated package: from deprecated import * only exports
    deprecated and deprecated_params. See PR #​102.
Fixed
  • Deprecated functions and methods can now be pickled (by reference, like regular functions),
    so they can be used with multiprocessing and the spawn start method (the default one on
    Windows and macOS), for instance as a Process target or with Pool.map().
    Previously, pickling failed with NotImplementedError: object proxy must define __reduce_ex__()
    (#​16). See PR #​108 and PR #​111
    (a function decorated with @deprecated above @staticmethod could not be pickled).
  • When a deprecated class inherits from a deprecated class, all the deprecation warnings now refer
    to the user code (previously, the warning of the parent class referred to classic.py).
    The warnings are emitted with skip_file_prefixes (Python 3.12+): the frames of this library
    and of wrapt are skipped, whatever the wrapt implementation (C extension or pure Python).
    See PR #​102.
  • Stacked @deprecated_params decorators now emit only one warning for each deprecated
    parameter: the message (and category) of the outermost decorator wins, as documented
    in the tutorial. The warnings refer to the caller. See PR #​102.
Documentation
  • Convert the documentation from reStructuredText to Markdown (MyST), built with Sphinx 9.1
    and MyST-Parser 5.1. The API page remains in reStructuredText (autodoc), and the docstrings
    are still written in reStructuredText. See PR #​103.
  • Convert the root files to plain Markdown, readable on GitHub: CHANGELOG.md,
    CONTRIBUTING.md and LICENSE.md.
  • Declare the documentation dependencies in the docs dependency group of pyproject.toml
    (docs/requirements.txt is removed); ReadTheDocs installs them with uv.
  • Check the documentation build in the CI (make docs-check: warnings are errors).
  • Rewrite the white paper: state of the art of deprecation in Python (warning categories and
    stack level, PEP 702 and the type checkers, the CPython policy, practices of major Open Source
    projects, best practices), and how to combine warnings.deprecated with this library.
    See PR #​104.
  • Remove the ebook, LaTeX, manual page and Texinfo configuration of the documentation (HTML only),
    with the files used by the ebook (cover, title page and blurb).
  • Rework the README: a short presentation, the warning emitted, the options of @deprecated,
    @deprecated_params, and how the library complements warnings.deprecated (PEP 702).
    The "Authors" section now tells who started the library and who maintains it.
  • New logo (a "best before: next major" price tag), shown in the README and on the home page
    of the documentation; it replaces the rusty tools image. See PR #​109.
  • Switch the documentation to the Furo theme, with light, dark
    and automatic (system preference) modes, and the red of the logo as accent color.
    The code is highlighted with the Lovelace (light) and Gruvbox dark (dark) Pygments styles,
    tuned for contrast (WCAG AA). See PR #​110.
  • Add make docs-live to preview the documentation while editing it: the pages are rebuilt
    and the browser is reloaded on each change (sphinx-autobuild, docs-live dependency group).
    See PR #​110.
  • Present the Google and NumPy docstring decorators in the documentation. See PR #​107.
  • Document the release process (docs/source/release.md).
  • Fix the outputs quoted in the tutorial and in the Sphinx page, stale references and typos
    of the documentation and of the docstrings. See PR #​111.
Other
  • Run the CI with uv and Hatch on Python 3.12, 3.13 and 3.14 (Linux, macOS and Windows),
    plus the wrapt compatibility matrix (wrapt 1.16, 1.17 and 2.x on every supported Python)
    and the pure Python implementation of wrapt. See PR #​102 and PR #​111.
  • Add the hatch check code (Ruff lint), hatch check fmt (Ruff format)
    and hatch check types (mypy, strict mode) quality checks. See PR #​102.
  • Add non-regression tests for the behaviours which differ between Python 2 and Python 3,
    and make the test_sphinx_metaclass tests test the Sphinx decorator. See PR #​102.
  • Bump the GitHub Actions versions. See PR #​99.
  • Run CodeQL on the develop and master branches, and add Dependabot version updates
    (GitHub Actions and uv.lock). See PR #​111.
  • Publish the coverage to Coveralls (README badge), and fail the tests below 95% of coverage.
    See PR #​111.
  • Add AGENTS.md and CLAUDE.md: guidance for AI coding agents.
dateutil/dateutil (python-dateutil)

v4.0.0

Compare Source

dateutil 4.0 requires Python 3.11 or later and no longer depends on six. Apart from that, the changes in this release are bug fixes, but note that isoparse is now stricter about the numeric fields it accepts (see below).

Deprecations

  • Dropped support for Python versions older than 3.11 and removed the dependency on six, along with Python 2 compatibility helpers that were never part of the public API, such as dateutil.tz.tzname_in_python2. (gh pr #​1625)

Bugfixes

  • parser.isoparse, and the isoparser methods parse_isodate, parse_isotime and parse_tzstr, now require each numeric field to be exactly the expected number of ASCII digits. Strings that were previously accepted, such as 20200728121240 (read as 21:24), 2014- 4-21 and 2_14-04-21, and offsets such as +-1:00, now raise ValueError. tzical applies the same check to TZOFFSETFROM and TZOFFSETTO. Reported by @​janos-gonye (gh issue #​1074). Fixed by @​varun3257 (gh pr #​1617).
  • Fixed an issue where iterating over a cached rrule or rruleset could hang forever if another iterator over the same rule had already completed the cache, for example when a cached rrule was included twice in an rruleset. Reported by @​bysiber (gh pr #​1455). Fixed by @​pganssle (gh pr #​1655).
  • Unpickling a tzutc now gives the dateutil.tz.UTC singleton, and unpickling a tzoffset gives the same object as calling tzoffset(name, offset). Previously unpickling bypassed the singleton-generation logic. Reported and fixed by @​masipcat (gh issue #​1051, gh pr #​1053).
  • relativedelta(yearday=366) now resolves to December 31 in leap years. Previously it gave December 30, the same date as yearday=365. Reported and fixed by @​Master-Norna (gh pr #​1583).

Misc

  • The build backend is now Hatchling, and the package metadata is in pyproject.toml. Versions are still derived from Git tags and exposed as dateutil.__version__. This mainly affects people building dateutil from source. (gh pr #​1637, #​1638)
  • Changes to CI, tests and release tooling that do not affect users of the package: gh pr #​1636, #​1644, #​1645, #​1646, #​1648, #​1649, #​1650.

v3.0.0

Compare Source

This is the last major version of dateutil that will support any version of Python older than 3.11. The next release will be the 4.x series, which will support Python 3.11 and later. We may release fixes for serious bugs in the 3.0.x series, but there are no plans for new features there.

The biggest change in this release is a rewrite of tz.tzfile, which affects nearly every user of dateutil.tz and changes the UTC offset of nonexistent times (see below). dateutil also now depends on the tzdata package, and no longer ships its own time zone database.

Data updates

  • dateutil no longer bundles a copy of the IANA time zone database. Time zone data now comes from the system (see dateutil.tz.TZPATH) or, failing that, from the new tzdata dependency, so the data version is whatever version of tzdata is installed. (gh pr #​1130)

Features

  • Rewrote tz.tzfile based on a backport of the zoneinfo module's pure-Python implementation. This adds support for Version 2 and Version 3 tzfile(5) binaries, resolving issues with timestamps beyond 2038 and "slim" format binaries. (gh issues #​462, #​1059, gh pr #​1130)
  • Added dateutil.tz.TZPATH and dateutil.tz.reset_tzpath to allow for runtime configuration of the IANA time zone data search path. These replace the mutable dateutil.tz.TZPATHS list, which has been removed. (gh pr #​1130)
  • dateutil now depends on the tzdata package, which gettz consults after the search path and before the Windows registry. On Windows this means that names that are both IANA keys and Windows time zone names, such as "UTC", now return a tzfile rather than a tzwin. (gh pr #​1130)

Bugfixes

  • tz.tzfile now follows PEP 495 for times that fall in a gap: with fold=0 it uses the offset from before the transition, and with fold=1 the offset from after it. Previously it always used the offset from after the transition, so for example datetime(2003, 4, 6, 2, 30, tzinfo=tz.gettz("America/New_York")) had a UTC offset of -04:00, where it now has -05:00, the same as with zoneinfo. (gh pr #​1130)
  • tz.tzfile objects for fixed-offset zones, such as tz.gettz("UTC"), now return their offset, DST offset and abbreviation when utcoffset, dst and tzname are called with None, as tz.tzutc, tz.tzoffset and zoneinfo.ZoneInfo do. This means that datetime.time objects with such a zone attached are now aware: time(12, tzinfo=tz.gettz("UTC")).isoformat() is now "12:00:00+00:00" rather than "12:00:00". (gh pr #​1130)
  • tz.tzfile now infers dst() from the standard time on both sides of each DST period, rather than only the one before it, and does so for each transition rather than for each local time type. This fixes dst() for double summer time (e.g. in Europe/London in the 1940s), for half-hour DST (e.g. in Pacific/Rarotonga) and where the standard offset changed at the same time as a DST transition (e.g. in America/Bahia_Banderas in 2010). Against the standard offsets in the tz database source, the only remaining errors are in Europe/Paris in 1944 and 1945. (gh pr #​1130)
  • Fixed rrulestr raising ValueError on experimental X- parameters in an RRULE line (such as GNOME Evolution's X-EVOLUTION-ENDDATE); these are now ignored as RFC 5545 permits. Fixed by @​yajo (gh pr #​1374)
  • Enabled pickling and deepcopy of cached rrule and rruleset instances. The cache setting is preserved, and cached results are regenerated on demand without copying locks or generators. Reported by @​niccokunzmann (gh issue #​1369). Fixed by @​Jay1023CN (gh pr #​1600).
  • Fixed relativedelta.__ne__ raising TypeError when comparing against an unsupported type such as None; it now returns True. Reported and fixed by @​kevinkt1 (gh issue #​1157, gh pr #​1158)
  • Raised the minimum version of six to 1.6, fixing No module named 'six.moves' errors with older versions. Reported by @​skytreader (gh issue #​1415), fixed by @​jdarias3 (gh pr #​1424).

Deprecations

  • Deprecated the dateutil.zoneinfo module. The module now acts as a wrapper around the tzdata package and will be removed in a future version. Users are encouraged to migrate to dateutil.tz.gettz or the standard library's zoneinfo module. dateutil.zoneinfo.rebuild.rebuild no longer does anything, and by default raises RebuildDeprecationWarning as an error; filter the warning to call it as a no-op. (gh pr #​1130)
  • Deprecated passing gettz a relative key that refers to a file outside of every directory on TZPATH, such as "../../etc/localtime". By default this now raises dateutil.tz.DeprecatedTzKeyWarning as an error; filter the warning to keep the old behavior for now, or pass an absolute path instead. (gh pr #​1130)

Documentation changes

  • Added intersphinx to the docs build and cleaned up some broken links. (gh pr #​1463)

Misc

getsentry/sentry-python (sentry-sdk)

v3.0.1

Compare Source

New Features ✨
  • Coding agents that set up Sentry now get a one-line note when tracing is off or the app sends no logs. The note points to SETUP_CHECKLIST.md, a short setup checklist that ships in the package. It only prints while the setup is in progress, for an agent, and never in CI. Turn it off with SENTRY_AGENT_HINTS=0 or with _experiments={"agent_setup_complete": True} in sentry_sdk.init(). by @​wedamija, @​claude and @​alexander-alderman-webb in #​8269
Bug Fixes 🐛
Internal Changes 🔧
Deps

v3.0.0

Compare Source

New major release of the Python SDK is out now!

This release brings:

  • ✨ Span streaming by default with streamlined API.
  • 🕶️ Fine-grained data collection controls replace the single send_default_pii option.
  • ☁️ Many improvements to our AWS Lambda instrumentation.
  • And more!

3.0 contains breaking changes. Looking to migrate?

Issues? Questions?

Let us know:

v2.77.0

Compare Source

New Features ✨
  • Coding agents that set up Sentry now get a one-line note when tracing or logs is off. The note points to SETUP_CHECKLIST.md, a short setup checklist that ships in the package. It only prints while the setup is in progress, for an agent, and never in CI. Turn it off with SENTRY_AGENT_HINTS=0 or with _experiments={"agent_setup_complete": True} in sentry_sdk.init(). by @​wedamija, @​claude and @​alexander-alderman-webb in #​8395
Other

v2.76.0

Compare Source

New Features ✨
  • (anthropic) Set gen_ai.usage.output_tokens.reasoning attributes for non-streaming responses by @​srothh in #​8329
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧
Deps
Mypy
Ruff
Other

v2.75.0

Compare Source

New Features ✨
Bedrock
  • Support for Amazon Bedrock's Converse and ConverseStream APIs

    The Boto3 integration is enabled automatically when boto3 is installed. To configure it explicitly:

import sentry_sdk
from sentry_sdk.integrations.boto3 import Boto3Integration

sentry_sdk.init(
    dsn="...",
    traces_sample_rate=1.0,
    integrations=[
        Boto3Integration(),
    ]
)
Other
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧
Warden
Other

v2.74.0

Compare Source

New Features ✨
Anthropic
Other
Bug Fixes 🐛
Anthropic
Other
Internal Changes 🔧
Deps
Other

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Sep 26, 2026
@renovate

renovate Bot commented Sep 26, 2026

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@coderabbitai

coderabbitai Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9404aefd-0a4f-459e-8aae-75a92479301f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch from 4804658 to 574b8e7 Compare September 26, 2026 21:24
@renovate renovate Bot changed the title chore(deps): Update dependency deprecated to v3 chore(deps): Update python-dependencies (major) Sep 26, 2026
@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch 5 times, most recently from c5bf937 to 4e9802f Compare October 12, 2026 15:03
@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch 4 times, most recently from 0c23bbc to 2a0f801 Compare October 23, 2026 03:00
@renovate renovate Bot changed the title chore(deps): Update python-dependencies (major) chore(deps): Update python-dependencies to v3 Oct 23, 2026
@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch 2 times, most recently from a92ff45 to c59e790 Compare November 1, 2026 13:58
@renovate renovate Bot changed the title chore(deps): Update python-dependencies to v3 chore(deps): Update python-dependencies (major) Nov 1, 2026
@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch 3 times, most recently from 01b59fd to d43cf58 Compare November 10, 2026 06:15
@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch from d43cf58 to c64baa5 Compare November 13, 2026 18:38
@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch from c64baa5 to 4a008ef Compare November 23, 2026 14:07
@renovate
renovate Bot force-pushed the renovate/major-python-dependencies branch from 4a008ef to 06ea652 Compare November 25, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants